home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Aug 89 / X0104-MacApp⁄SADE Debuggi-Aug89 < prev    next >
Encoding:
Text File  |  1989-08-25  |  1.8 KB  |  59 lines  |  [TEXT/GEOL]

  1. Item    7798755                         25-Aug-89        03:24
  2.  
  3. From:   SW0075                          SWV VTS Transportation Systems, GBG
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    MacApp/SADE Debugging
  8.  
  9. From : SW0075                   VTS Transportation Systems, Sweden
  10.  
  11. To : MACAPP.TECH$               MACAPP Tech
  12.  
  13. Sub:
  14.  
  15.  
  16.  
  17. Hi,
  18. We have a couple of questions:
  19.  
  20. 1: We are  using MPW3.0/MACAPP2.0B5/SADE 1.0. Is there a way using SADE to
  21. inspect objects (getting the address of the object) or getting the information
  22. supplied via the inspector/fields method of the MacApp debugger?
  23. We have tried get the value of the variable item (an object!) by the SADE
  24. function:
  25. ShowHexValue(UnsignedLong(\ULayerClass.DrawOutline.item))
  26. It doesn't work. We get the error message unknown program symbol DrawOutline.
  27.  
  28. 2: We have written a small test application based on the Drawshapes example.
  29. Our program crashes when when calling IStdPrintHandler. SADE gives the
  30. following trace dump:
  31.  
  32. stack
  33.   Frame Addr  Frame Owner                        Called From
  34.   <main>      NETWORK
  35.   $00295694   TAPPLICATION_RUN                   NETWORK.(5)+$0004
  36.   $0029567E   TAPPLICATION_HANDLEFINDERREQUEST   TAPPLICATION_RUN.(11)+$0002
  37.   $002954FE   TAPPLICATION_OPENNEW
  38. TAPPLICATION_HANDLEFINDERREQUEST.(5)+$0008
  39.   $002952A2   TNETWORKDOCUMENT_DOMAKEVIEWS       TAPPLICATION_OPENNEW.(5)+$0006
  40.   $0029523C   TNETWORKVIEW_INETWORKVIEW
  41. TNETWORKDOCUMENT_DOMAKEVIEWS.(10)+$000C
  42.   $002951F8   TSTDPRINTHANDLER_ISTDPRINTHANDLER
  43. TNETWORKVIEW_INETWORKVIEW.(26)+$0012
  44.   $0029519A   TVIEW_DOCHECKPRINTER
  45. TSTDPRINTHANDLER_ISTDPRINTHANDLER.(24)+$0008
  46.  
  47. Dependinh on the setting of breakpoints this crash can occur in other method
  48. calls inside IStdPrintHandler.
  49. Can anyone give us any advice on this?
  50.  
  51. Bo Ridderstolpe
  52. Dan Ryrlén
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.